package es.xpt.ysf.commons.business.model;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Clase que modela el cambio entre dos divisas
 * Una divisa se modela con clase {@link es.xpt.ysf.commons.business.model.Currency}
 */
public class CurrencyExchange
{
	private String source;
	private String target;
	private Date initDate;
	private Date endDate;
	private BigDecimal exchange;
	
	public CurrencyExchange() { }

	public String getSource() { return source; }
	public void setSource(String source) { this.source = source; }

	public String getTarget() { return target; }
	public void setTarget(String target) { this.target = target; }

	public Date getInitDate() { return initDate; }
	public void setInitDate(Date initDate) { this.initDate = initDate; }

	public Date getEndDate() { return endDate; }
	public void setEndDate(Date endDate) { this.endDate = endDate; }

	public BigDecimal getExchange() { return exchange; }
	public void setExchange(BigDecimal exchange) { this.exchange = exchange; }
}